# @Version  : 1.0
# @Author   : wgq
# @File     : house.py
# @Date     : 2025/6/11 9:43
class House:

    # id_counter = 1

    def __init__(self,id,name, phone,address, rent, status):
        self.id = id
        self.name = name
        self.address = address
        self.phone = phone
        self.rent = rent
        self.status = status
        # House.id_counter += 1

    def __str__(self):
        return f"{self.id}\t\t\t{self.name}\t\t\t{self.phone}\t\t\t{self.address}\t\t\t{self.rent}\t\t\t{self.status}"

